import { createRouter, createWebHistory } from 'vue-router'
import LowCode from '@/views/LowCode/Design/Design.vue'
import Preview from '@/views/LowCode/Preview/Preview.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'LowCode',
      component: LowCode,
    },
    {
      path: '/Preview',
      name: 'Preview',
      component: Preview,
    }
  ],
})

export default router
